package com.foogui.guava;

import com.google.common.collect.ImmutableList;
import com.google.common.collect.Lists;
import org.junit.Test;

public class ImmutableDemo {
    @Test
    public void immutableList() {
        ImmutableList<String> hello = ImmutableList.copyOf(Lists.newArrayList("hello"));
        ImmutableList<String> helloworld = ImmutableList.of("hello", "world");
    }
}
